﻿@model Zatify.WebUI.Models.PromotionBudgetSelectionViewModel
@{
    ViewBag.Title = "Promotion - Budget";
    ViewBag.ContentTitle = "Promotion Budget";
    Layout = "~/Views/Shared/_ContentLayout.cshtml";
}
<style type="text/css">
    #imgFrame
    {
        border: 0 none;
        height: 204px;
        overflow: hidden;
        width: 174px;
    }
</style>
<div class="business_interface_area">
    @using (Html.BeginForm("PromotionBudgetSelection", "Promotions", FormMethod.Post, new { enctype = "multipart/form-data" }))
    {
        @Html.Hidden("imagePath")
        @Html.HiddenFor(m => m.PromotionId)
        <div class="business_profile_categories">
            <label class="label_text new_promo_budget_section">
                Choose Campaign Budget</label>
            @Html.TextBoxFor(m => m.BudgetAmount, new { @class = "referred_inputbox", placeholder = "Enter Budget Amount, $" })
            <label class="label_text new_promo_budget_section">
                Enter Promotion Name</label>
            @Html.TextBoxFor(m => m.PromotionName, new { @class = "referred_inputbox", placeholder = "Enter Promotion Name" })
            <label class="label_text new_promo_budget_section" for="SingleUseOnly">
                Single Use Only @Html.CheckBoxFor(m => m.SingleUseOnly, new { @style = "margin-left:10px;" })</label>
            <div class="clearfix">
            </div>
            <div class="promo_budget_section">
                <div class="promo_pic_upload_left">
                    @*@if (Model.Picture != null)
                    {*@
                    <div style="margin-top: 20px; position: relative; width: 156px;" class="upload_pic">
                        <iframe id="imgFrame" src="@Url.Action("PromoImageUploadControl", new { id = (Model.Renew ? Model.OldPromotionId : Model.PromotionId) })" scrolling="no">
                        </iframe>
                    </div>
                    @*}
                    else
                    {
                        <div style="margin-top: 20px; position: relative; width: 156px;" class="upload_pic">
                            <iframe id="imgFrame" src="@Url.Action("PromoImageUploadControl")" scrolling="no">
                            </iframe>
                        </div>
                    }*@
                </div>
                <div class="promotion_text_right">
                    <label class="label_text new_promo_budget_section" style="padding-bottom: 10px;">
                        Promotion Text</label>
                    @Html.TextAreaFor(m => m.PromotionText, new { @class = "business_description_textarea" })
                    <p class="campaign_cost_rate">
                        Campaign Cost: $@Model.PromotionCompaignFlatFee.ToString("0.00")/flat and $@Model.PromotionCompaignCost.ToString("0.00")/push</p>
                    <input type="submit" value="Next" class="blue_btn" style="margin-left: 0px;" />
                </div>
            </div>
            <div class="clearfix">
            </div>
            @Html.ValidationSummary()
        </div>
    }
</div>
